'use strict';

const angular = require('angular'),

    complaintsRoutes = require('./routes/complaints.route'),
    complaintsController = require('./controller/complaints.controller'),
    complaintsService = require('./services/complaints.service'),
    moduleName = 'complaints';

angular.module(moduleName, [])
  .config(complaintsRoutes)
  .factory('complaintsService',complaintsService)
  .controller('complaintsController', complaintsController);
;

module.exports = moduleName;
